//
//  CouponMerchantRequest.m
//  EasyToo
//
//  Created by zhengzhe on 13-11-18.
//
//

#import "CouponMerchantRequest.h"

@implementation CouponMerchantRequest

- (id) initWithPage:(NSInteger)page Size:(NSInteger)size Delegate:(id<ServerCommunicationDelegate>)delegate
{
    self = [super init];
    if (self) {
        
        self.requestName = @"CouponMerchantRequest";
        self.delegate = delegate;
        
        [self.headerJsonDict setObject:@"888880" forKey:@"TranCode"];
        
        [self.bodyJsonDict setObject:[NSNumber numberWithInteger:page] forKey:@"pageNo"];
        [self.bodyJsonDict setObject:[NSNumber numberWithInteger:size] forKey:@"pageSize"];
        
        [self buildJsonRequest];
    }
    return self;
}

- (void)dealloc
{
    self.requestName = nil;
    self.delegate = nil;
    [super dealloc];
}

@end
